<?php
/* @var $this EmailBlastFormController */
/* @var $model EmailBlastForm */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'email-blast-form-_form-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<!--div class="row"-->
		<?php //echo $form->labelEx($model,'to'); ?>
		<?php echo $form->hiddenField($model,'to',array('value'=>$to)); ?>
		<?php //echo $form->error($model,'to'); ?>
	<!--/div-->

	<div class="row">
		<?php echo $form->labelEx($model,'subject'); ?>
		<?php echo $form->textField($model,'subject'); ?>
		<?php echo $form->error($model,'subject'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'message'); ?>
		<?php echo $form->textArea($model,'message'); ?>
		<?php echo $form->error($model,'message'); ?>
	</div>


	<div class="row buttons">
		<?php echo CHtml::submitButton('Send');?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->